HCL
Skip to main content  
 
   


SPRTechnote


Opening HTML mail causes Notes 6.x client to crash

Technote Number: 1160168


Problem:
This issue was reported to Lotus software Quality Engineering and has been
addressed in Notes 6.0.4 and 6.5.2.

Excerpt from the Lotus Notes and Domino Release 6.0.4 / 6.5.2 MR fix list
(available at http://www.ibm.com/developerworks/lotus):

Editor
SPR# RMAR5MMQGH - Fixed a crash which occurred if a table had a width of 0.


Refer to the Upgrade Central site for details on upgrading Notes/Domino.

Workarounds for emails already in this state:

View the message over 6.x Domino Web Access or Webmail, or from a Notes 5.x
Client.

Alternatively, you can use back-end LotusScript code to convert the
MIME-formatted content to Notes Rich Text (CD) format. Note, however, that
this method can result in the loss of formatting and images in the document.
For more information on how to create and operate a LotusScript agent to do
this, refer to document titled "How to use LotusScript to Convert
MIME-Formatted Messages to Notes Rich Text" (#1160191).

Workarounds to avoid the issue in the future:

- Administrators can set the "Format preference for incoming mail" entry (which
saves to the MessageStorage field) in their users' Person documents to "Prefers
Notes Rich Text". Setting the entry to this value causes the MessageStorage
field to be populated with a text value of "0", resulting in a document that
can be opened without crashing. The disadvantage, however, is that the
formatting and content are adversely affected; specifically, any included
images may not appear.

- Set up a System Rule on the mail server to redirect or delete incoming
documents. This would allow administrators to deal with the issue for all
users without having to create rules and/or agents for each user. Create
System Rules by using the following steps:

1. In the Domino Directory open the view Configuration\Servers\Configurations.
2. Open the server's Configuration document.
3. Select the Router/SMTP tab.
4. Select the Restrictions and Controls tab.
5. Select the Rules tab.
6. Click the "Edit Server Configuration" Action button.
7. Click the "Add Rule" Action button.
8. For the condition, one suggestion would be to search the Subject for
AAdvantage.
9. For the action, you could use either "move to database" or "don't deliver
message".

- In user's mail files, set up a Before New Mail Arrives agent to convert
incoming messages whose Subject contains "AAdvantage" from Mime format to Notes
Rich Text (CD) format, using LotusScript. This workaround has the benefit of
converting the message before it arrives in the user's mail file, which will
help avoid inadvertent crashes. The disadvantage, again, is that the
formatting and content are adversely affected, in that any included images may
not appear.

The following LotusScript code can be used:

Dim s As New notessession
Dim doc As notesdocument
Set doc=s.documentcontext
If Instr(1, doc.subject(0), "AAdvantage") Then
If s.convertmime=False Then
s.convertmime=True
resetcm=True
End If
Set rtitem = doc.GetFirstItem( "Body" )
Call rtitem.appendtext(" ")
Call doc.save(True, True)
If resetcm Then s.convertmime=False
End If


- If you want to move AAdvantage eSummary emails automatically to another
folder or send them to another email account, use the Notes Mail Rules. The
rule can be designed to search the Sender field for AADVANTAGE (specifically,
it is "AADVANTAGE <esummary@aadvantage.info.aa.com>") or to search the Subject
field for AAdvantage (specifically, "AAdvantage eSummary At Your Request").
The mail rule action can then be set to "Move to Folder" or "Send Copy To" as
desired.
More >





  Document options
Print this document
Print view

  Search
Search Advanced Search


  Fix list views

 RSS feeds   RSS
Subscribe to the fix list

  Resources
Using this database
View notices

  HCL Support
HCL Support


    About HCL Privacy Contact